package com.lm.dao;

import java.util.List;

import com.lm.model.Board;

public interface BoardDAO {
	public List getAllBoard() throws Throwable;

	public Board getBoardByBoardID(String boardID) throws Throwable;

	public void addBoard(Board board) throws Throwable;

	public void editBoardByBoardID(Board board, String boardID)
			throws Throwable;

	public void editBoardContentByBoardID(Board board, String boardID)
			throws Throwable;

	public void deleteBoardByBoardID(String boardID) throws Throwable;

	public Board getBoardByBoardName(String boardName) throws Throwable;

}
